package cn.chen.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration
@PropertySource("classpath:myProp.properties")
@ConfigurationProperties(prefix = "info")
@Data
public class MyProp {
    private String user;
    private Integer pass;
    private int number;
    private  String val;
    private  String uid;
    private  String str;
    private  int range;
}
